﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PluginService.Common.Model
{
    [System.Serializable]
    public enum CommandType
    {
        /// <summary>
        /// 启动
        /// </summary>
        Start=1,
        Stop=2,
        Pause=3,
        Reload=4,

        GetCameraConfig=20,
        UpdateCameraConfig=21,
        UpdateAppConfig=22,

        AddBlank=30,
    };

    [System.Serializable]
    public class CommandModel
    {
        public CommandType CommandType { get; set; }

        public string CommandBody { get; set; }

        public string Id { get; set; }
    }

    [System.Serializable]
    public class AppConfigKeyValueItem
    {
        public string Key { get; set; }
        public string Value { get; set; }
    }
}
